package com.zzz.web.service;

import com.zzz.web.Data.RSSI;
import com.zzz.web.dao.RssiDao;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class RssiService {

    @Autowired
    private RssiDao rssiDao;

    public List<RSSI> all(){
       return rssiDao.all();
    }

    public void replace(RSSI rssi){
        rssiDao.replace(rssi);
    }

    public void test(){
        rssiDao.test();
    }
}
